@import '~@/theme.less';

.CheckBody {
    .securityTip {
        margin-top: 8px;
    }

    :global {
        .ant-table-wrapper {
            .ant-table-thead > tr > th {
                white-space: nowrap; // 防止IE等浏览器不支持'max-content'属性 导致内容换行
            }
            .ant-table-tbody > tr > td {
                white-space: nowrap; // 防止IE等浏览器不支持'max-content'属性 导致内容换行
            }

            .ant-table-tbody > tr.row-hover > td[rowspan] {
                background: @table-row-hover-bg;
            }

            // 选中的颜色
            .ant-table-tbody > tr.ant-table-row-selected > td[rowspan] {
                background: @table-selected-row-bg;
            }

            .iconfont {
                font-size: 20px;
                cursor: pointer;

                &.status_reject:hover {
                    color: #F75454;
                }

                &.status_approve:hover,
                &.status_cancel:hover {
                    color: #FF9E00
                }
            }

            .iconfont.p_status_disable,
            .iconfont.p_status_disable:hover {
                -webkit-touch-callout: none;
                -webkit-user-select: none; /* Chrome all / Safari all */
                -moz-user-select: none; /* Firefox all */
                -ms-user-select: none; /* IE 10+ */

                /* No support for these yet, use at own risk */
                -o-user-select: none;
                user-select: none;
                cursor: not-allowed;
                color: #E4E4E4;
            }

            .p-number {
                white-space: nowrap;
                text-overflow: ellipsis;
                overflow: hidden;
                word-break: break-all;
            }

            .ant-table-tbody .p-color-red {
                color: red;
            }
            .ant-table-tbody .p-hover-yellow {
                cursor: pointer;
                &:hover{
                    color:  #FF9E00
                }
            }

            // 不显示汇总的勾选框
            .ant-table-footer .ant-checkbox-wrapper {
                display: none;
            }
        }
    }
}


.dropdownOverlay {
    margin: 20px;
    max-width: unset;

    :global {
        li::before {
            content: " ";
            display: inline-block;
            width: .4em;
            height: .4em;
            margin-right: .4em;
            border-radius: 1em;
            background: #fff;
            transform: translateY(-50%);
        }
    }
}

.scale {
    font-size: 16px;
    margin-left: 5px;
    display: inline-block;
    vertical-align: middle;
    color: #AEAEAE;
    &:hover {
        color: @yellow;
    }
}
